<?php
/**
 * @description:
 * @author     : Geomen
 * @time       : 2018/12/7 10:49
 */


namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class UserHost extends Model
{
    protected $table = 'user_host';

    protected $fillable = ['host','open_id','port'];

    public function crontab(){
        return $this->hasOne(IpCrontab::class,'user_host_id');
    }
}